home *** CD-ROM | disk | FTP | other *** search
/ Eagles Nest BBS 4 / Eagles_Nest_Mac_Collection_Disc_4.TOAST / DTP (PM & Quark) / XP XPreview1.0[K] / XPreview 1.0 folder / Krack Notes.rsrc / TEXT_128.txt < prev    next >
Text File  |  1994-07-30  |  988b  |  7 lines

  1. Krack Notes for XPreview 1.0
  2.  
  3. This Program used to be a demo. It would not open more than 1 document per session. We have removed this limitation and released it as a full working copy. 
  4.  
  5. How we Kracked it:
  6.  
  7. We set a trap in TMON for _SysBeep. When XPreview 1.0 beeps to tell you it can‚Äôt open more than one document, TMON takes over. As usual we opened an Assembly window anchored to ‚àÜPC. If you hit ‚ÄúPOP A6‚Äù, it‚Äôll return you to the program and let you hit OK, then break back in where the program returns from the error message routine. One more POP A6 puts you back in right after the JSR that gives you the error. If you scroll up a few lines you see it compares something to ‚Äú1‚Äù and branches past the JSR that gives you the error if it‚Äôs less than or equal to 1. Bingo! We want it to always branch past the JSR so we open XPreview 1.0 with Resorcerer, open the CODE 2 resource, scroll to the ‚Äúopennewdoc‚Äù routine at offset $9E. Change the ‚ÄúBLE‚Äù to ‚ÄúBRA‚Äù.